Document Solutions for Imaging
DS.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / GcBitmap Class / SaveAsIco Method / SaveAsIco(Stream,Nullable<Rectangle>,IcoFrameEncoding) Method
The output stream.
Clipping rectangle of the image to be saved.
Encoding of the frame image.

In This Topic
    SaveAsIco(Stream,Nullable<Rectangle>,IcoFrameEncoding) Method
    In This Topic
    Saves the image into a Stream in ICO format.
    Syntax
    'Declaration
     
    Public Overloads Sub SaveAsIco( _
       ByVal stream As System.IO.Stream, _
       Optional ByVal clipRect As System.Nullable(Of Rectangle), _
       Optional ByVal encoding As IcoFrameEncoding _
    ) 
    public void SaveAsIco( 
       System.IO.Stream stream,
       System.Nullable<Rectangle> clipRect,
       IcoFrameEncoding encoding
    )

    Parameters

    stream
    The output stream.
    clipRect
    Clipping rectangle of the image to be saved.
    encoding
    Encoding of the frame image.
    See Also